//
//  LMSelecteButton.h
//  Perking
//
//  Created by longmin on 16/9/8.
//  Copyright © 2016年 tim. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface LMSelecteButton : UIView

/** 设置是否选中 */
@property(nonatomic, assign, getter=isSelect) BOOL select;

@property(nonatomic, strong) NSString *title;

/**
 * 根据字体和文字返回一定宽高的按钮
 */
+(instancetype)selectButtonWithFont:(UIFont *)font title:(NSString *)title color:(UIColor *)color clickHandler:(void(^)(BOOL isSelect))clickHandler;

+(instancetype)selectButtonWithFont:(UIFont *)font
                              title:(NSString *)title
                              color:(UIColor *)color
                              image:(NSString *)itemImage
                       clickHandler:(void (^)(BOOL))clickHandler;

@end
